package com.musicserver.service;

import com.musicserver.common.R;
import com.musicserver.model.domain.Song;
import com.baomidou.mybatisplus.extension.service.IService;
import com.musicserver.model.request.SongRequest;
import org.springframework.web.multipart.MultipartFile;

/**
* @author tch001
* @description 针对表【song】的数据库操作Service
* @createDate 2025-09-16 08:37:57
*/
public interface SongService extends IService<Song> {
    R songOfSingerId(int singerId);
    R addSong (SongRequest addSongRequest, MultipartFile mpfile);
    R updateSongMsg(SongRequest updateSongRequest);
    // 删除
    R deleteSong(Integer id);
    // 批量删除
    R deleteSongs(String[] ids);
    R songOfSongListId(int songListId);
    R allSong();
    R songOfSongName(String name);
}
